package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.Map;

public interface PermissionService {
    PageResult findByPage(QueryPageBean pageBean);

    void addPermission(Map map);

    void deletePermission(String id);

    void editPermission(Permission permission);

    Permission findById(String id);
}
